<%- include header %>
<div class="content has-header">
    <% posts.forEach(function (post,index) { %>
    <div class="list card">
        <div class="item item-avatar">
            <img src="/images/pi.gif">
            <h2><a href=""><%= post.title %></a></h2>
            <p>作者：<a href=""><%= post.name %></a> | 日期：<%= post.time.minute %></p>
        </div>
        <div class="item item-body">
            <p>
                <%= post.post %>
            </p>
            <p>
                <a href="#" class="subdued">1 喜欢</a>
                <a href="#" class="subdued">5 评论</a>
            </p>
        </div>

        <div class="item tabs tabs-secondary tabs-icon-left">
            <a class="tab-item" href="#">
                <i class="icon ion-thumbsup"></i>
                喜欢
            </a>
            <a class="tab-item" href="#">
                <i class="icon ion-chatbox"></i>
                评论
            </a>
            <a class="tab-item" href="#">
                <i class="icon ion-share"></i>
                分享
            </a>
        </div>
    </div>
    <% }) %>
</div>
<%- include footer %>